import React from 'react';
import './index.less'
const App = ({ icon, type,value,onChange }:any) => {
  return (<div className='rc-input-container'>
    {icon ? <div className='rc-input-icon'>
      {icon}
    </div> : null}

    <div className='rc-input-wrapper'>
      <input value={value} type={type} onInput={onChange} placeholder="Please input Username" />

    </div>
    
  </div>)
}
export default App